package com.zyg.jas.studentport.service.impl;

import com.zyg.jas.common.pojo.Tc;
import com.zyg.jas.common.pojo.Teacher;
import com.zyg.jas.studentport.dao.ResourceDao2;
import com.zyg.jas.studentport.dao.TcDao2;
import com.zyg.jas.studentport.service.TeaService2;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeaServiceImpl2 implements TeaService2 {
    @Autowired
    private TeaService2 teaService2;
    @Autowired
    private TcDao2 tcDao2;

    @Override
    public List<Tc> selectTeacher(String courseId) {
        System.out.println("courseid+++"+courseId);
        System.out.println("this.tcDao"+this.tcDao2.selectTeacher(courseId));
        Teacher teacher = new Teacher();
        this.tcDao2.selectTeacher(courseId);
        return this.tcDao2.selectTeacher(courseId);
    }
}
